{% extends "layout/layout.twig" %}
{% from "macros.twig" import class_link %}
{% block title %}Traits | {{ parent() }}{% endblock %}
{% block body_class 'traits' %}

{% block page_content %}
    <div class="page-header">
        <h1>Traits</h1>
    </div>

    <div class="container-fluid underlined">
        {% for class in classes %}
            {% if class.trait %}
                <div class="row">
                    <div class="col-md-6">
                        {{ class_link(class, true) }}
                    </div>
                    <div class="col-md-6">
                        {{ class.shortdesc|desc(class) }}
                    </div>
                </div>
            {% endif %}
        {% endfor %}
    </div>
{% endblock %}
